Part Number Hot Search : 
49101 HTR03 RU6070L XN1110 YB25D FW243 DTC144 T1N431M
Product Description
Full Text Search
 

To Download MT8952 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  3-61 features formats data as per x.25 (ccitt) level-2 standards go-ahead sequence generation and detection single byte address recognition microprocessor port and directly accessible registers for ?xible operation and control 19 byte fifo in both send and receive paths handshake signals for multiplexing data links high speed serially clocked output (2.5 mbps) st-bus compatibility with programmable channel selection for data and separate timeslot for control information independent watchdog timer facility to disable protocol functions low power iso-cmos technology applications data link controllers and protocol generators digital sets, pbxs and private packet networks d-channel controller for isdn basic access c-channel controller to digital network interface circuits (typically mt8972) interprocessor communication description the MT8952b hdlc protocol controller frames and formats data packets according to x.25 (level 2) recommendations from the ccitt. ordering information MT8952be 28 pin plastic dip MT8952bp 28 pin plcc MT8952bs 28 pin soic -40 c to 85 c figure 1 - functional block diagram d0-d7 a0-a3 r/w cs e irq wd v dd v ss rst teop cdsto f0i cki rxcen txcen cdsti reop c-channel interface micro processor interface receive fifo transmit fifo transmit logic zero insertion flag/abort generator address decoder interrupt registers control and status register timing logic receive logic address detection zero deletion flag/abort/ idle detection issue6 march 1997 MT8952b hdlc protocol controller iso-cmos st-bus ? family
MT8952b iso-cmos 3-62 figure 2 - pin connections pin description pin no. name description 1 txcen transmit clock enable - this active low input enables the transmit section in the external timing mode. when low, cdsto is enabled and when high, cdsto is in high impedance state. if the protocol controller is in the internal timing mode, this input is ignored. 2 rxcen receive clock enable - this active low input enables the receive section in the external timing mode. when low, cdsti is enabled and when high, the clock to the receive section is inhibited. if the protocol controller is in the internal timing mode, this input is ignored. 3 cdsto c and d channel output in st-bus format - this is the serial formatted data output from the transmitter in nrz form. it is in st-bus format if the protocol controller is in internal timing mode with the data in selected timeslots (0,2,3 and 4) and the c-channel information in timeslot no. 1. if the protocol controller is in external timing mode, the formatted data is output on the rising edge of the clock (cki) when txcen low. if txcen is high, cdsto is in high impedance state. 4 cdsti c and d channel input in st-bus format - this is the serial formatted data input to the receiver in nrz form. it must be in st-bus format if the protocol controller is in internal timing mode with the input data in selected timeslots (0,2,3 and 4) and the c-channel information in timeslot no.1. if the controller is in external timing mode, the serial input data is sampled on the falling edge of the clock cki when rxcen is low. if rxcen is high, the clock to receive section is inhibited. 5wd watch-dog timer output - normally a high level output, going low if the watchdog timer times out or if the external reset (rst ) is held low. the wd output remains low as long as rst is held low. 6 irq interrupt request output (open drain) - this active low output noti?s the controlling microprocessor of an interrupt request. it goes low only when the bits in the interrupt enable register are programmed to acknowledge the source of the interrupt as de?ed in the interrupt flag register. 7-10 a0-a3 address bus inputs - these bits address the various registers in the protocol controller. they select the internal registers in conjunction with cs , r/w inputs and e clock. (refer to table 1.) 28 pin plcc t x c e n r x c e n cdsto cdsti w d i r q a0 a1 a2 a3 cs e r/w vss vdd r s t f 0 i cki teop reop d7 d6 d5 d4 d3 d2 d1 d0 28 pin pdip/soic 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 28 27 26 25 24 23 22 21 4 5 6 7 8 9 10 11 25 24 23 22 21 20 19 ? c dsti cki teop reop d7 d6 d5 d4 w d i r q a0 a1 a2 a3 c s d2 3 2 1 28 27 26 12 13 14 15 16 17 18 cds to r x c e n t x c e n vdd r s t f 0 i e r /w vss d0 d1 d3
iso-cmos MT8952b 3-63 table 1. register addresses 11 cs chip select input - this is an active low input enabling the read or write operation to various registers in the protocol controller. 12 e enable clock input - this input activates the address bus and r/w input and enables data transfers on the data bus. 13 r/w read/write control - this input controls the direction of data ?w on the data bus. when high, the i/o buffer acts as an output driver and as an input buffer when low. 14 v ss ground (0 volt). 15-22 d0-d7 bidirectional data bus - these data bus i/o ports allow the data transfer between the hdlc protocol controller and the microprocessor. 23 reop receive end of packet (output) - this is a high going pulse that occurs for one bit duration when a closing ?g is detected on the incoming packets, or the incoming packet is aborted, or when an invalid packet of 24 or more bits is received. 24 teop transmit end of packet (output) - this is a high going pulse that occurs for one bit duration when a packet is transmitted correctly or aborted. 25 cki clock input (bit rate clock or 2 x bit rate clock in st-bus format while in the internal timing mode and bit rate clock in the external timing mode) - this is the clock input used for shifting in/out the formatted packets. it can be at bit rate (c2i) or twice the bit rate (c4i ) in st-bus format while the protocol controller is in the internal timing mode. whether the clock should be c2i (typically 2.048 mhz) or c4i (typically 4.096 mhz) is decided by the brck bit in the timing control register. if the protocol controller is in the external timing mode, it is at the bit rate. 26 f0i frame pulse input - this is the frame pulse input in st-bus format to establish the beginning of the frame in the internal timing mode. this is also the signal clocking the watchdog timer. 27 rst reset input - this is an active low schmitt trigger input, resetting all the registers including the transmit and receive fifos and the watchdog timer. 28 v dd supply (5 volts). address bits registers a3 a2 a1 a0 read write 0000 fifo status - 0001 receive data transmit data 0010 control control 0011 receive address receive address 0100 c-channel control (transmit) c-channel control (transmit) 0101 timing control timing control 0110 interrupt flag watchdog timer 0111 interrupt enable interrupt enable 1000 general status - 1001 c-channel status (receive) - pin description (continued) pin no. name description
MT8952b iso-cmos 3-64 introduction the MT8952b hdlc protocol controller handles bit oriented protocol structure and formats the data as per the packet switching protocol de?ed in the x.25 (level 2) recommendations of the ccitt. it transmits and receives the packeted data (information or control) serially in a format shown in figure 3 , while providing the data transparency by zero insertion and deletion. it generates and detects the ?gs, various link channel states and the abort sequence. further, it provides a cyclic redundancy check on the data packets using the ccitt de?ed polynomial. in addition, it can generate and detect a go ahead sequence and recognize a single byte address in the received frame. there is also a provision to disable the protocol functions and provide transparent access to the serial bus through the parallel port. frame format all frames start with an opening ?g and end with a closing ?g as shown in figure 3. between these two ?gs, a frame contains the data and the frame check sequence (fcs). figure 3. frame format flag: the ?g is a unique pattern of 8 bits (01111110) de?ing the frame boundary. the transmit section generates the ?gs and appends them automatically to the frame to be transmitted. the receive section searches the incoming packets for ?gs on a bit-by- bit basis and establishes frame synchronization. the ?gs are used only to identify and synchronize the received frame and are not transferred to the fifo. data: the data ?ld refers to the address, control and information ?lds de?ed in the ccitt recommendations. a valid frame should have a data ?ld of at least 16 bits. the ?st byte in the data ?ld is the address of the frame. if rxad bit in the control register is high, the incoming packet is recognized only if the address byte matches the byte stored in the receive address register or the address byte is the all-call address (all ones). the lsb of the receive address register is set low permanently and the comparison is done only on upper seven bits of the received address byte. the address detection can be limited only to the upper six bits by setting high both ra6/7 and rxad bits in the control register. frame check sequence (fcs): the 16 bits following the data ?ld are the frame check sequence bits. the generator polynomial is: g(x)=x 16 +x 12 +x 5 +1 the transmitter calculates the fcs on all bits of the data ?ld and transmits after the data ?ld and before the end ?g. the receiver performs a similar computation on all bits of the received data and fcs ?lds and the result is compared with fob8 hex . if it matches, the received data is assumed error free. the error status of the received packet is indicated by d7 and d6 bits in the fifo status register. zero insertion and deletion: the protocol controller, while sending either data from the fifo or the 16 bits fcs, checks the transmission on a bit-by-bit basis and inserts a zero after every sequence of ?e contiguous ones (including the last ?e bits of fcs) to ensure that the ?g sequence is not simulated. similarly the receiver examines the incoming frame content and discards any zero directly following the ?e contiguous ones. abort: the transmitter aborts a frame by sending eight consecutive ones. the fa bit in the control register along with a write operation to the transmit data register enables the transmission of abort sequence instead of the byte written to the register. on the receive side, the abrt bit in the general status register is set whenever an abort sequence (7 or more continuous 1s) is received. the abort sequence causes the receiver to abandon whatever it was doing and start searching for a start ?g. the fa bit in the interrupt status register is set when an abort sequence is received following a start ?g and at least four data bytes (minimum for a valid frame). interframe time fill and link channel states when the hdlc protocol controller is not sending packets, the transmitter can be in any of three states mentioned below depending on the status of the iftf0 and iftf1 bits in the control register. these bits are also used to disable the protocol function to provide the transparent parallel access to the serial bus through the microprocessor port. flag data field fcs flag one byte n bytes (n 2) tw o bytes one byte
iso-cmos MT8952b 3-65 idle state: the idle state is de?ed as 15 or more contiguous ones. when the hdlc protocol controller is observing this condition on the receiving channel, the idle bit in the general status register is set high. on the transmit side, the protocol controller ends the idle state when data is loaded into the transmit fifo. interframe time ?l state: the protocol controller transmits continuous ?gs (7e hex ) in interframe time ?l state and ends this state when data is loaded into the transmit fifo. go ahead state: go ahead is de?ed by the 9 bit sequence 011111110 (7f hex followed by a zero), and hence contiguous 7fs appear as go aheads. once the transmitter is in ?o ahead state, it will continue to remain so even after the data is loaded into the fifo. this state can only be changed by setting the iftf bits in the control register to something other than ?o ahead? the reception of this sequence is indicated by ga bit in the general status register and the protocol controller can generate an interrupt if enabled to do so by the ga bit in the interrupt enable register. transparent data transfer state: the protocol controller, in this state, disables the protocol functions de?ed earlier and provides bi- directional access to the serial bit streams through the parallel port. like other states, the transparent data transfer can be selected in both timing modes. invalid frames any frame shorter than 32 bits between the opening and closing ?gs (corresponding to 16 bits of data and 16 bits fcs) is considered invalid. the protocol controller ignores the frame only if the frame length is less than 24 bits between the ?gs. for frames of length 24 to 32 bits, it transfers the data ?ld to fifo and tags it as having bad fcs in the fifo status register. functional description the functional block diagram of the hdlc protocol controller is shown in figure 1. it has two ports. the serial port transmits and receives formatted data packets and the parallel port provides a microprocessor interface for access to various registers in the protocol controller. the serial port can be con?ured to operate in two modes depending on the ic bit in the timing control register. it can transmit/receive the packets on selected timeslots in st- bus format or it can, using the enable signals ( txcen and rxcen ), transmit/receive the packets at a bit rate equal to cki clock input. the microprocessor port allows parallel data transfers between the protocol controller and a 6800/6809 system bus. this interface consists of data bus (d0-d7), address bus (a0-a3), e clock, chip select (cs ) and r/w control. the micro- processor can read and write to the various registers in the protocol controller. the addresses of these registers are given in table 2. the irq is an open drain, active low output indicating an interrupt request to cpu. control and monitoring of many different interrupts that may originate from the protocol controller is implemented by the interrupt flag register (ifr) and the interrupt enable register (ier). speci? events have been described that set a bit high in the interrupt flag register. such an event does not necessarily interrupt the cpu. to assert an interrupt (pull irq output low) the bit in ier that coincides with the interrupt flag register must be set high. the irq bit in the general status register is the complement of irq pin status. if an interrupt is asserted, this bit will be set high otherwise it will be low. teop and reop outputs: the hdlc protocol controller provides two separate signals teop & reop indicating the end of packet transmitted and received respectively. teop is a high going pulse for one bit duration asserted during the last bit of the closing ?g or abort sequence of the transmit packet. reop is also a high going pulse occurring for one bit period when a closing ?g is received or an incoming packet is aborted or an invalid packet of 24 or more bits is detected. however, reop is not generated for invalid packets of length less than 24 bits. these ?nd of packet signals are useful in multiplexing several data links on to a single hdlc protocol controller. timing modes there are two timing modes the protocol controller can be run in. these timing modes refer only to the con?uration of the serial port and are not related to the microprocessor port. internal timing mode the internal timing mode is intended for an easy interface to various products using st-bus
MT8952b iso-cmos 3-66 architecture, particularly zarlinks digital network interface circuit (dnic - mt8972). the data/packets are shifted in/out serially in st-bus format using the timing signals f0i and c2i/c4i . in addition to framing the data, the protocol controller reserves one channel (channel-1) on the st-bus for carrying control information (c-channel) and this timeslot can not be used for the packetized data. while the protocol controller is in the internal timing mode, the clock input cki can be either at the bit rate or at 2 bit rate depending on the brck bit in the timing control register as shown in table 2. table 2. output bit rate in internal timing mode the protocol controller uses the st-bus timing signals f0i and c2i/c4i , and enables the transmitter and receiver sections in the appropriate timeslots as determined by tc0-tc3 bits in the timing control register. the txcen and rxcen inputs are ignored in this mode. c-channel interface this is a separate control channel (c-channel) interface relevant only in the internal timing mode. the data stored in the c-channel control register is shifted out during the channel-1 timeslot of the outgoing st-bus (cdsto) and the c1en bit in the timing control register enables the transmission. the transmission of c-channel is independent of packet/data transmission. the data received on channel-1 of the incoming st-bus (cdsti) is shifted into the c-channel status register independently and it is updated continuously. both the c-channel registers are accessible by the accompanying cpu through the parallel port. external timing mode in the external timing mode, the transmit and receive sections are enabled independently by txcen and rxcen control inputs and the formatted data packets are shifted in/out serially at a rate equal to the clock frequency on cki. the output is transmitted on the rising edge and the receiver samples the input on the falling edge of the clock. the txcen and rxcen controls are independent and asynchronous and have effect only after the current bit in the packet is transmitted/received. although the protocol controller provides the packetized data on a limited number of channels on the st-bus while operating in the internal timing mode, it can packetize the data on any or all the channels of the st-bus if it is operated in the external timing mode with appropriate enable signals on txcen and rxcen . transparent data transfer by setting the iftf bits in the control register appropriately, the protocol functions can be disabled. this provides a bidirectional access to the serial port through the microprocessor interface, with 19 byte deep fifo in each direction. the transparent data transfer facility functions in bytewide format and is available in both timing modes except when the timing control bits are set for one bit/frame during the internal timing mode. the transmit data is shifted out serially on cdsto and the operation being bytewide, only the least signi?ant bits of each byte loaded are transmitted, if the timing control bits are set to select 2, 6 or 7 bits/ frame. when the transmit fifo is empty, the last byte or the portion the last byte, written to the fifo is transmitted repeatedly. similarly the serial data on cdsti is shifted in and converted to bytewide format. in case the timeslot selected is 2, 6 or 7 bits/frame, the reception involves only the most signi?ant bits of each byte. it should be noted that none of the protocol related status or interrupt bits are applicable in transparent data transfer state. however, the fifo related status and interrupt bits are pertinent and carry the same meaning as they do while performing the protocol functions. watchdog timer this is a ?ed eleven stage binary counter with f0i as the input and wd as the output from the last stage. this counter can be reset either by the external input (rst ) or by writing xxx0 1010 to the watchdog timer register. the wd output is normally high and if the watchdog timer register is not written within 2 10 cycles of f0i input after it is reset, the wd output will go low for a period of 2 10 cycles of f0i . even though the f0i input is not required for formatting data in the external timing mode, it is necessary for the operation of the watchdog timer. brck bit cki input output data rate 0 4.096 mhz/c4i 2.048 mbps 1 2.048 mhz/c2i 2.048 mbps
iso-cmos MT8952b 3-67 order of bit transmission/reception the least signi?ant bit (lsb) corresponding to d0 on the data bus is transmitted ?st on the serial output (cdsto). on the receiving side, the ?st bit received on the serial input (cdsti) is considered as the lsb and placed on d0 of the data bus. registers there are several registers in the hdlc protocol controller accessible to the associated micro- processor via the data bus. the addresses of these registers are given in table 1 and their functional details are given below. fifo status register (read): this register (figure 4) indicates the status of transmit and receive fifos and the received byte as described below. figure 4 - fifo status register rx byte status: these two bits (d7 and d6) indicate the status of the received byte ready to be read from the receive fifo. the status is encoded as shown in table 3. table 3. received byte status rx fifo status: these bits (d5 and d4) indicate the status of receive fifo as given by table 4. the rx fifo status bits are not updated immediately after an access of the rx fifo (a read from the microprocessor port, or a write from the serial port), to avoid the existence of unrecoverable error conditions. when in external timing mode, the MT8952b must receive two falling edges of the clock signal at the cki input before the rx fifo status bits will be updated. when in internal 2.048 mhz timing mode, the MT8952b must receive two falling edges of the c2i clock before the rx fifo status bits will be table 4. receive fifo status updated. when in internal 4.096 mhz timing mode, the MT8952b must receive four falling edges of the c4i clock before the rx fifo status bit will be updated (see the section on receive operation - normal packets). tx fifo status: these two bits (d3 and d2) indicate the status of transmit fifo as shown in table 5. table 5. transmit fifo status the tx fifo status bits are updated in the same manner as the rx fifo bits, except that in external timing mode, and in internal 2.048 mbps timing mode, the tx fifo status bits are updated after two falling edges of the cki or the c2i signal (see the section on transmit operation - normal packets). receive data register (read): reading the receive data register (figure 5) puts the ?st byte from the receive fifo on the data bus. the ?st bit of the data received on the serial input (cdsti) is considered to be the lsb and is available on d0 of the data bus. figure 5 - receive data register transmit data register (write): writing to transmit data register (figure 6) puts the data present on the data bus into the transmit fifo. the lsb (d0) is transmitted ?st. d7 d6 d5 d4 d3 d2 d1 d0 rx byte status rx fifo status tx fifo status low low rx byte status bits status d7 d6 0 0 packet byte 0 1 first byte 1 0 last byte (good fcs) 1 1 last byte (bad fcs) rx fifo status bits status d5 d4 0 0 rx fifo empty 0 1 less than or equal to 14 bytes 1 0 rx fifo full 1 1 greater than or equal to 15 bytes tx fifo status bits status d3 d2 0 0 tx fifo full 0 1 greater than or equal to 5 bytes 1 0 tx fifo empty 1 1 less than or equal to 4 bytes d7 d6 d5 d4 d3 d2 d1 d0 rd7 rd6 rd5 rd4 rd3 rd2 rd1 rd0
MT8952b iso-cmos 3-68 figure 6 - transmit data register control register (read/write): the control register (figure 7) is used for general purpose control of the hdlc protocol controller. the bits contained in this register and their functions are described below. figure 7 - control register txen -transmit enable: when set high, this bit enables the transmitter and when low, disables it setting the serial output (cdsto) to high impedance state. if the transmitter is disabled during the transmission of a packet using this bit, the protocol controller will wait until the completion of the packet and closing ?g is transmitted or the packet is aborted before setting the output (cdsto) to high impedance state. thus txen bit controls the transmission packet by packet unlike txcen input (pin 1) which controls it bit-by-bit. however, if the protocol controller is in transparent data transfer state, the transmission will be stopped within two bit periods (maximum) and set the output to high impedance state. rxen - receive enable: this bit enables the receiver when set high and disables it when low. if this bit goes low during the reception of the packet, the receiver can only be disabled after the current packet and its closing ?g are received or an abort is detected. thus rxen bit controls the receiver section packet by packet unlike rxcen input (pin 2) which controls it bit-by-bit. however, if the protocol controller is in transparent data transfer state, the receiver will be disabled immediately. rxad - receive address detect: this bit when set high, enables the address detection for the received packets. this causes the receiver to recognize only those packets having a unique address as programmed in the receive address register or if the address byte is the all-call address (all ones). the address comparison is done only on seven bits (compatible to the ?st byte of the address ?ld de?ed in lapd-ccitt) and an all-call is de?ed as all ones in upper seven bits of the received address ?ld. if rxad is low, the address detection is disabled and every valid packet is recognized. ra6/7 - receive address six/seven bits: this bit, when set high, limits the address detection only to the upper six bits of the received address byte (last 6 bits of received address ?ld) and when low, allows the address comparison on seven bits. an "all call", in this case is de?ed as all ones in the upper six bits only. ra6/7 is ignored if the address detection is disabled (rxad=0). iftf0 and iftf1 - interframe time fill: setting these bits according to the table below (table 6) causes the transmitter to be in one of the active or idle states or allows the protocol controller to be in the transparent data transfer state. table 6. interframe time fill bits fa - frame abort: when set high, this bit?ags the next byte written to the transmit fifo and causes an abort sequence (eight ones) to be transmitted when it reaches the bottom of the fifo. the abort sequence will be transmitted instead of the byte that was tagged. the fa bit is cleared to zero upon writing the data to the transmit fifo. as a result, a ?ead of this register bit will not re?ct the last data written to it. eop - end of packet: writing a one to this bit ?ags the next byte written to the transmit fifo to indicate that it is the last data byte of the packet. this bit is cleared to zero upon writing the data to the transmit fifo. as a result, a read of this register bit will not indicate the last data written to it. receive address register (read/write): figure 8 - receive address register the data in this register (figure 8) de?es the unique address for the hdlc protocol controller. if address recognition is enabled using the rxad and ra6/7 bits in the control register, an incoming packet is recognized only if its address byte (seven or six most signi?ant bits) matches the corresponding bits in this register or if the address is an "all-call". the lsb d7 d6 d5 d4 d3 d2 d1 d0 td7 td6 td5 td4 td3 td2 td1 td0 d7 d6 d5 d4 d3 d2 d1 d0 txen rxen rxad ra6/7 iftf1 iftf0 fa eop iftf bits result iftf1 iftf0 0 0 idle state (all ones) 0 1 interframe time fill state (continuous flags) 1 0 transparent data transfer 1 1 go ahead state (continuous 7f hex ) d7 d6 d5 d4 d3 d2 d1 d0 ra7 ra6 ra5 ra4 ra3 ra2 ra1 ra0
iso-cmos MT8952b 3-69 of the receiver address register is set low permanently and the address comparison is done only on remaining bits of the register. c-channel control register (read/write): figure 9 - c-channel control register the data written to this register (figure 9) is transmitted on channel-1 slot of the outgoing st- bus (cdsto), when enabled by c1en bit in the timing control register. this feature can only be used when the hdlc protocol controller is in the internal timing mode. timing control register (read/write): the timing control register (figure 10) controls the timing mode and other related operations and provides a software reset to the protocol controller. the various bits in this register are described below: figure 10. timing control register rst - reset: when this bit is set high, all the registers in the hdlc protocol controller are reset and the data in the fifos is lost. this is equivalent to the external reset with the exception that the rst bit does not affect itself or the watchdog timer register and wd output. the rst bit must be ?leared (written as a logic ?? twice before the MT8952b will be removed from its reset state (see section on reset operation). ic - internal control: when this bit is cleared to zero, the protocol controller is in the external timing mode. the transmit and receive sections are enabled by the inputs txcen and rxcen respectively, and f0i is used only for the watchdog timer operation. when this bit is a one, the protocol controller is in the internal timing mode. the transmit and receive sections are enabled by the internally generated timings derived from the inputs cki and f0i . the f0i input de?es the beginning of a frame (figure 24) and the transmitter and receiver sections are enabled in the timeslots as determined by the bits tco-tc3. the inputs txcen and rxcen are ignored in this mode. c1en - channel-1 enable: when high, it enables the transmission of c-channel information on channel-1 time-slot of the outgoing st-bus (cdsto) and when low, puts cdsto into high impedance state during that period. however, the c-channel information is received independently and the c- channel status register is updated continuously. note that c1en has relevance only during the internal timing mode. brck- bit rate clock: this bit is used during the internal timing mode to select the clock rate and ignored if the protocol controller is in the external timing mode. it should be set high if the input clock (cki) is at the bit rate (c2i) and should be low for the clock input at 2 x bit rate (c4i ). in both cases, the clock should be properly phase related to f0i as shown in figure 25. tc0-tc3 - timing control bits: in the internal timing mode the transmitter and the receiver sections are enabled during the times de?ed by the timing control bits tc0-tc3 (table 7). this applies only to the st-bus channels 0, 2, 3 and 4 carrying the packets or transparent data (channel-1 pertains to c-channel information). the output cdsto is put during the remaining time intervals not enabled by these bits. x : don? care table 7. timing control bits interrupt flag register (read): reading the interrupt flag register puts the interrupt status bits on the data bus. this register is reset when it is read and a particular bit will not be set until its particular condition occurs again. the functional details of each bit are provided in figure 11. figure 11. interrupt flag register ga - go ahead: this bit when set high, indicates the detection of ?o ahead sequence on the incoming data stream (cdsti). d7 d6 d5 d4 d3 d2 d1 d0 ct7 ct6 ct5 ct4 ct3 ct2 ct1 ct0 d7 d6 d5 d4 d3 d2 d1 d0 rst ic c1en brck tc3 tc2 tc1 tc0 timing control bits st-bus channel number bits /frame tc3 tc2 tc1 tc0 x000 0 1 x001 0 2 0010 0 6 1010 0 7 x011 2 8 x100 3 8 x101 4 8 x 1 1 0 2 and 3 16 x 1 1 1 2, 3 and 4 24 d7 d6 d5 d4 d3 d2 d1 d0 ga eopd tx done fa tx 4/19 full tx urun rx 15/19 full rx oflw
MT8952b iso-cmos 3-70 eopd - end of packet detect: a high on this bit con?ms the reception of an ?nd of packet ?g, an abort sequence or an invalid packet of 24 or more bits on the incoming data stream (cdsti). tx done - transmitter done: this bit, when high, indicates that the packet transmission is complete and the transmit fifo is empty. the falling edge of teop output causes this interrupt status bit to be set high if the fifo is empty. fa - frame abort: this bit is set high to indicate that a frame abort has been detected on the incoming data stream. tx 4/19 full - transmit fifo 4/19 full: this bit if set high, indicates that the transmit fifo has only 4 bytes remaining in it and another 15 bytes could be loaded. this bit has signi?ance only when the transmit fifo is being depleted and not when it is getting loaded. tx urun - transmit fifo underrun: this bit when high, identi?s that the transmit fifo is empty without the protocol controller being given the ?nd of packet indication. this indicates that the transmit fifo has underrun and the protocol controller will transmit an abort sequence automatically. tx done will be set 8 bit times after tx urun is set. rx15/19 full - receive fifo 15/19 full: this bit when high, con?ms that the receive fifo has 15 bytes in it and it can receive four more bytes. rx oflw - receive fifo over?w: this bit when set high, indicates that the receive fifo is full and a ?rite occurred indicating an over?w. the byte causing this and all the subsequent bytes written while the fifo is in this state are lost. the receiver begins to search for a new start ?g. watchdog timer register (write): the watchdog timer register operates in conjunction with the watchdog timer and the wd output. writing the code of xxx0 1010 in the register resets the wd timer. if the register is not re-written within 2 10 cycles of f0i after resetting the timer, the wd output goes low. this register serves the sole purpose of resetting the timer and hence relevant only if it is written with the above data. interrupt enable register (read/write): this register enables/disables the interrupts as speci?d in the interrupt flag register (ifr). setting high the appropriate bits in this register (ier) enables the associated interrupt source. however, the masked bits in the ifr are still valid but they do not cause the irq output to go low. the description of the bits enabling the various interrupts is identical to those of the interrupt flag register. general status register (read): this register (figure 12) contains the general status information on the protocol controller. figure 12 - general status register rx oflw - receive fifo over?w: this bit, if set high, indicates that the receive fifo has over?wed. the byte causing this and all the subsequent bytes written while the fifo is in this state are lost. note that this bit is the same as the rx oflw bit in interrupt flag register (ifr) and can only be cleared by reading the ifr. tx urun - transmit fifo underrun: when high, this bit indicates that the transmit fifo has underrun. under this condition the packet being transmitted is aborted. this bit is the same as the tx urun bit in the interrupt flag register (ifr) and can only be cleared when the ifr is read. ga - go ahead: this bit is set high if a ?o ahead is received on the incoming data stream and is cleared when the interrupt flag register is read. this bit is the same as the ga bit in the ifr. abrt - abort: the reception of contiguous seven ones on incoming data, sets this bit high and reading the general status register, clears it. irq - interrupt request: this bit refers to the status of the interrupt request output from the protocol controller. if high, it indicates that the irq (pin 6) output is low and vice versa. idle - idle channel: this bit, if set high, identi?s that the receiver is detecting an idle channel at its input (minimum 15 ones). c-channel status register (read): figure 13. c-channel status register the c-channel register (figure 13) continuously stores the data received during the channel-1 d7 d6 d5 d4 d3 d2 d1 d0 rx oflw tx urun ga abrt irq idle low high d7 d6 d5 d4 d3 d2 d1 d0 cr7 cr6 cr5 cr4 cr3 cr2 cr1 cr0
iso-cmos MT8952b 3-71 timeslot of the incoming st-bus (cdsti) during the internal timing mode of the protocol controller. reset when the MT8952b is reset by a low going pulse on the rst pin or by setting (logic high) the rst bit in the timing control register, the device is put into the following state: a) all bits in the timing control register are cleared (logic 0) by an external reset. an internal reset clears all bits except the rst bit. b) all bits in the interrupt enable register are cleared (logic 0). c) all bits in the control register are cleared (logic 0). d) all bits in the interrupt register are cleared (logic 0). e) all bits in the general status register are cleared (logic 0) except for the two least signi?ant bits. f) receive and transmit registers are cleared and the fifo status register re?cts their state accordingly. g) the wd output is reset low by an external reset but is not affected by an internal reset. h) the transmitter and the receiver are disabled. transmit operation after a reset, which the external circuitry should provide upon power up, the transmit section is disabled. before enabling this section, the timing should be set up. on reset, the serial port is set to external timing mode. in case this is not desired, the timing control register should be written to with the appropriate data. once in the correct timing mode, the transmit enable (txen) bit in the control register can be set. now that the transmitter is enabled it will be in the idle channel state. if any other channel state or the transparent data transfer facility is required, the iftf bits in the control register should be set accordingly. normal packets: to start a packet, the data is written into the transmit fifo starting with the address ?ld. all the data must be written to the fifo in a bytewide manner. when the data is detected in the transmit fifo, the protocol controller will proceed in one of the following ways: if the transmitter is in idle state, the present byte of eight ones being transmitted is completed and then followed by a start ?g and subsequently the data in the transmit fifo is transmitted. if the transmitter is in the interframe time ?l state, the ?g presently being transmitted is ?ished and then another start ?g is transmitted before transmitting the data from the transmit fifo. if the transmitter is in go ahead state, it continues to be in that state even after the data is loaded into the fifo. only when the iftf bits are set to choose something other than go ahead will the data be transmitted. if the transmitter is in transparent data transfer state, the protocol functions are disabled and the data in the transmit fifo is transmitted on cdsto. to indicate that the particular byte is the last byte of the packet, the eop bit in the control register must be set before the last byte is written into the transmit fifo. the eop bit is cleared automatically when the data byte is written to the fifo. after the transmission of the last byte in the packet, the frame check sequence (16 bits) is sent followed by a closing ?g. if there is any more data in the transmit fifo, another ?g is transmitted followed by the new data. in case of no data in the fifo, the transmitter assumes the selected link channel state. during the transmission of either the data or the frame check sequence, the protocol controller checks the transmitted information on a bit by bit basis and inserts a zero after every sequence of ?e consecutive ones. transmit fifo full: when the transmit fifo is full, this state is indicated by the transmit fifo status bits in the fifo status register. these bits do not change state for two bit periods after an access of the fifo from either the serial port or the microprocessor port. the bit period is determined by the cki signal frequency. if the bus cycle of the controlling microprocessor is much shorter than the bit period, the transmit fifo status bits may not be updated in time for the next microprocessor read of the fifo status register. to make sure that the microprocessor does not overwrite the tx fifo, if over four bytes of information have been written to the tx fifo, the
MT8952b iso-cmos 3-72 microprocessor should wait for a 4/19 full interrupt before writing to the tx fifo again. when a 4/19 full interrupt has been received, a maximum of 15 bytes should be written to the tx fifo, then transfer of information to the tx fifo should stop and the 4/ 19 full interrupt should be waited for once more. the fifo may be allowed to empty if no more information is to be sent at the moment. this procedure should keep software independent of the frequency of the cki signal. transmit underrun: a transmit underrun occurs when the last byte loaded into the transmit fifo was not agged with the ?nd of packet (eop) bit and there are no more bytes in the fifo. in such a situation, the protocol controller transmits the abort sequence (eight ones) and moves to the selected link channel state. abort transmission: if it is desired to abort the packet currently being loaded into the transmit fifo, the next byte written to the fifo should be agged to cause this to happen. the fa bit of the control register must be set high, before writing the next byte into the fifo. this bit is cleared automatically once the byte is written to the fifo. when the agged byte reaches the bottom of the fifo, a frame abort sequence is sent instead of the byte and the transmitter operation returns to normal. go ahead transmission: by setting the iftf bits in the control register appropriately the transmitter can be made to send the go ahead sequences when the protocol controller is not sending the packets. since the go ahead is de?ed as 011111110, contiguous 7f hex s appear as go aheads. as long as the iftf bits are set to choose go aheads, the transmitter will send them even if data is subsequently loaded into the fifo. only when the iftf bits are set to select something other than go aheads, will the data be transmitted. c-channel transmission: by setting the c1en bit in the timing control register high, the information loaded in the c- channel control register can be transmitted over channel-1 timeslot of the outgoing st-bus (cdsto). this is available only during the internal timing mode of the protocol controller. transparent data transfer: the iftf bits in the control register can be set to provide transparent data transfer disabling the protocol functions. the transmitter no longer generates the flag, ga, abort and idle sequences nor does it insert the zeros and calculate the fcs . it operates in both timing modes in bytewide manner and transmits data serially on cdsto. if the protocol controller is in the internal timing mode and the timing control bits are set to select 2, 6 or 7 bits/ frame, the corresponding least signi?ant bits of every byte loaded into the transmit fifo are only transmitted. the transparent data transfer facility is not available when the timing control bits are set for 1 bit/frame. in case the fifo is empty, the last byte or the portion of the last byte, written to the fifo is transmitted repeatedly. note that the transparent data transfer can be disabled immediately in software (unlike during the transmission of packets) using txen bit in the control register. the operation of the transmitter is similar in the external timing mode. receive operation after a reset on power up, the receive section is disabled. timing set up considerations are similar to that of the transmit section. address detection is also disabled when a reset occurs. if address detection is required, the receiver address register is loaded with the desired address and the rxad bit in the control register is set high. the receive section can then be enabled by rxen bit in the control register. normal packets: after initialization as explained above, the serial data starts to be clocked in and the receiver checks for the idle channel and ?gs. if an idle channel is detected, the ?dle bit in the general status register is set high. once a ?g is detected, the receiver synchronizes itself in a bytewide manner to the incoming data stream. the receiver keeps resynchronizing to the ?gs until an incoming packet appears. the incoming packet is examined on a bit- by-bit basis, inserted zeros are deleted, the fcs is calculated and the data bytes are written into the receive fifo. however, the fcs and other control characters like the ?g, abort etc., never appear in the fifo. if the address detection is enabled, the ?st byte following the ?g is compared to the byte in the receive address register and to all-call address. if a match is not found, the entire packet is ignored and nothing is written to the fifo. if the incoming address byte is valid, the packet is received in normal fashion. all the bytes written to the receive
iso-cmos MT8952b 3-73 fifo are ?gged with two status bits. the status bits are found in the fifo status register and indicate whether the byte to be read from the fifo is the ?st byte of the packet, the middle of the packet, the last byte of the packet with good fcs or the last byte of the packet with bad fcs. this status indication is valid for the byte to be read from the receive fifo. the incoming data is always written to the fifo in a bytewide manner. however, in the event of data sent not being a multiple of eight bits, the software associated with the receiver should be able to pick the data bits from the msb positions of the last byte in the received data written to the fifo. the protocol controller does not provide any indication as to how many bits this might be. receive fifo empty: when the receive fifo is empty, this state is indicated by the receive fifo status bits in the fifo status register. as with the tx fifo status bits (see transmit fifo full section), these bits are not updated for two bit periods after any access of the receive fifo. if the controlling microprocessors bus cycle is much shorter than a bit period on the serial port, then the status bits may not be updated to indicate there is no information left in the rx fifo before the microprocessor has returned to read the rx fifo again. the result is an under?w condition that is only evident by redundant bytes in the received message. to avoid a rx fifo under?w, reading information from the rx fifo should be approached in two ways. the ?st approach is to be used when the MT8952b indicates (via interrupt) that the rx fifo is 15/19 full. the controlling microprocessor should then immediately read 14 bytes from the rx fifo. this will avoid emptying the fifo. the second approach is to be used when an end of packet interrupt is signalled by the MT8952b. the controlling microprocessor should then empty the rx fifo until the rx byte status bits in the fifo status register indicate that the byte about to be read is the last byte. these bits are ?ag?bits whose state was determined before the end of packet condition was indicated, therefore their state is valid. invalid packets: if there are less than 24 data bits between the opening and closing ?gs, the packet is considered invalid and the data never enters the receive fifo. this is true even with data and the abort sequence, the total of which is less than 24 bits. the data packets that are at least 24 bits but less than 32 bits long are also invalid, but not ignored. they are clocked into the receive fifo and tagged as having bad fcs. frame abort: when a frame abort is received the appropriate bits in the interrupt flag and status registers are set. the last byte of the packet that was aborted is written to the fifo with a status of ?acket byte tagged to it. the cpu determines which packet in the fifo was aborted, if there is more than one packet in the fifo, by the absence of ?ast byte status on any of the bytes. idle channel: while receiving the idle channel, the idle bit in the general status register remains set. go ahead: the occurrence of this sequence can be used to generate an interrupt as described earlier. the receive circuitry will not recognize a frame abort followed by a ?g as go ahead. c-channel reception: the information contained in channel-1 of the incoming st-bus (cdsti) is shifted into the c- channel status register during the internal timing mode. transparent data transfer: by setting the iftf bits in the control register to select the transparent data transfer, the receive section can be made to disable the protocol functions like flag/abort/ga/idle detection, zero deletion, crc calculation and address comparison. the received data is shifted in from cdsti and written to receive fifo in bytewide format. if the protocol controller is in the internal timing mode and the timing control bits are set to 2, 6 or 7 bits/ frame, the respective msbs of each byte are only to be read from the data bus. the transparent data transfer facility is not available when the timing control bits are set to one bit/frame. the receive section can be disabled in software immediately using the rxen bit in the control register. the operation of the receiver is similar in the external timing mode. receive over?w: receive over?w occurs when the receive section attempts to load a byte to an already full receive fifo. this status can be used to generate the interrupt as described earlier. typical connection
MT8952b iso-cmos 3-74 a typical connection to the hdlc protocol controller is shown in figure 14. the parallel port interfaces with 6800/6809 type processors. the bits a0-a3 are the addresses of various registers in the protocol controller. the microprocessor can read and write to these registers treating them as memory locations. the serial port transmits/receives the packetized data. it can be connected to a digital transmission medium or to a digital network interface circuit. the teop and reop are the ?nd of packet signals on transmit and receive direction respectively. f0i and cki are the timing signals with cki accepting either the bit rate clock or 2 x bit rate clock in the internal timing mode. txcen and rxcen are the enable inputs in the external timing mode. wd is the output of the watchdog timer. it goes low when the timer times out or if the rst input is held low. this output can be used to reset the associated microprocessor. the rst is an active low input which resets the entire circuitry. applications the MT8952b has a number of applications for transferring data or control information over a digital channel while providing built-in error detection capability. in combination with the mt8972 (the digital network interface circuit), it can be used to transmit digital data over a twisted wire pair. the block schematic of one such application is shown in figures 15 and 16. they refer to the primary and secondary ends of a voice/data communication link using the digital network interface circuits (dnic). each end is associated with one dnic which interfaces twisted wire pair to the digital data rate up to 160kbps (2b+d, framing signal and housekeeping information). primary end of the link: the MT8952b is operating in the internal timing mode with the c-channel transceiver action enabled. the processor loads the data or control information (d channel) in the transmit fifo which is packetized in hdlc format and shifted out serially during the selected channels of the outgoing st-bus (cdsto). the channels and the number of bits per frame (frame period=125 sec) can be selected by tc0- tc3 bits in the timing control register. since channel 1 is reserved for the c-channel information and channels 2 and 3 carry b-channels (64 kbps each), the d-channel information can only be sent on channel-0. similarly the incoming packets on cdsti are loaded into receive fifo after the removal of all overhead bits and checked for any errors. the microprocessor will then read the data from the receive fifo. the dnic (mt8972) is selected to operate in single port, master mode with the digital network (dn) option enabled. the b-channels, b1 and b2, are shown connected directly to the dnic. hence, these should be in st-bus format enabled at the appropriate timeslot (channels 2 and 3). it can be the outputs of voice codecs (mt896x) providing voice communication or data codecs (mt8950) for figure 14 - typical connection diagram parallel interfacing with 6809 type processors serial port with formatted data d0-d7 r/w cs e a0-a3 w d i r q cdsto teop t x c e n cdsti reop r x c e n MT8952b hdlc protocol controller f 0 i cki r s t v dd v ss timing and control
iso-cmos MT8952b 3-75 figure 15 - hdlc protocol controller at the primary end of the link figure 16 - hdlc protocol controller at the secondary end of the link m i c r o p r o c e s s o r d0-d7 r/w c s e a0-a3 w d r s t i r q cdsto cdsti dsti dsto c 4 f 0 ms0 0 ms1 0 ms2 0 b-channels (2 x 64 kbits/sec max) MT8952b hdlc protocol controller mt8972 digital network interface circuit f 0 i cki to twisted wire pair (160 kbits/sec) primary terminal end network interface network m i c r o p r o c e s s o r d0-d7 r/w c s e a0-a3 w d r s t i r q cdsto cdsti dsti dsto c 4 f 0 ms0 0 ms1 0 ms2 1 f0i cki b-channels (2 x 64 kbits/sec max) MT8952b hdlc protocol controller mt8972 digital network interface circuit to twisted wire pair (160 kbits/sec) secondary terminal end network interface network communication between rs232-c type terminals. it is possible to use the hdlc protocol on b1 and b2 channels to provide the error detection. this can be done by using a separate MT8952b enabled appropriately to shift out the formatted data during channels 2 and 3 or by multiplexing the same MT8952b between b- and d- channels.
MT8952b iso-cmos 3-76 secondary end of the link: at the secondary end of the communication link, a similar procedure is adopted to transmit/receive the data and control information. the MT8952b operates in the internal timing mode as at the primary end, but the dnic (mt8972) is selected to operate in single port, slave mode with the digital network capability enabled. the other functions and procedures are similar to those at the primary end. the timing signals like cki (c2i or c4i ) and f0i are provided externally at the primary end and at the secondary end, they are derived from the received data. although this application describes the communication between two stations over a dedicated link, it can be modi?d to serve a switched communication path by additional control functions and a call set-up procedure many of which can be achieved in software.
iso-cmos MT8952b 3-77 * exceeding these values may cause permanent damage. functional operation under these conditions is not implied. typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. * outputs unloaded. input pins 12 and 25 clocked at 2048 khz. all other inputs at v ss . absolute maximum ratings * parameter symbol min max units 1 supply voltage v dd -0.3 7.0 v 2 voltage on any pin (other than supply pins) v i v ss -0.3 v dd +0.3 v 3 current on any pin (other than supply pins) i i / i o 25 ma 4 dc supply or ground current i dd / i ss 50 ma 5 storage temperature t st -65 150 c 6 package power dissipation plastic p d 0.6 w recommended operating conditions - voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ max units test conditions 1 supply voltage v dd 4.75 5.0 5.25 v 2 input high voltage v ih 2.4 v dd v for a noise margin of 400 mv 3 input low voltage v il v ss 0.4 v for a noise margin of 400 mv 4 frequency of operation f cl 5.0 mhz when clock input is at twice the bit rate. 5 operating temperature t a -40 25 85 c dc electrical characteristics - voltages are with respect to ground (vss) unless otherwise stated. v dd =5v 5%, v ss =0v, t a =-40 to 85 c. characteristics sym min typ max units test conditions 1 supply current (quiescent) i dd 110 a outputs unloaded and clock input (cki) grounded 2 supply current (operational) i dd 0.4 1.0 ma *see below 3 i n p u t input high voltage v ih 2.0 v 4 input low voltage v il 0.8 v 5 input leakage current i iz 10 a 6 input capacitance c in 10 pf 7 high switching point for schmitt trigger (rst ) input v t+ 4.0 v 8 low switching point for schmitt trigger (rst ) input v t- 1.0 v 9 hysteresis on schmitt trigger (rst ) input v h 0.5 v 10 o u t p u t output high current (on all the outputs except irq ) i oh -5 -16 ma v oh =2.4 v 11 output low current (on all the outputs including irq ) i ol 510 mav ol =0.4 v 12 output capacitance c o 15 pf
MT8952b iso-cmos 3-78 ? timing is over recommended temperature & power supply voltages (v dd =5v 5%, v ss =0v, t a =?0 to 85 c). typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. figure 17 - timing information for mpu write ac electrical characteristics ? - microprocessor interface - (figures 17 and 18) voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ max units test conditions 1 delay between cs and e clock t cse 0ns 2 cycle time t cyc 205 ns 3 e clock pulse width high t ewh 145 ns 4 e clock pulse width low t ewl 60 ns 5 read/write setup time t rws 20 ns 6 read/write hold time t rwh 10 ns 7 address setup time t as 20 ns 8 address hold time t ah 60 ns 9 data setup time (write) t dsw 35 ns 10 data hold time (write) t dhw 10 ns 11 e clock to valid data delay t dzl t dzh 145 ns test load circuit 1 (fig. 26) c l =200pf 12 data hold time (read) t dlz t dhz 10 60 ns test load circuit 3 (fig. 26) cs e cs e r/w a0-a3 d0-d7 note: the write cycle can be initiated either by the falling edge of c s or the rising edge of e clock whichever occurs last. similarly the cycle can be terminated by c s (rising edge) or e clock (falling edge) whichever occurs first. the timing relations are to be referenced from the active edge initiating or terminating the cycle t cse t ewh t ewl t r t f t cyc t cse t rws t rwh t as t ah t dsw t dhw e clock initiates and terminates the write cycle c s initiates and terminates the write cycle
iso-cmos MT8952b 3-79 figure 18 - timing information for mpu read figure 19 - interrupt request release time figure 20 - watchdog timer input and output cs e cs e r/w a0-a3 d0-d7 e clock initiates and terminates the read cycle c s initiates and terminates the read cycle valid data high impedance high impedance t cse t ewh t r t f t cyc t cse t rws t rwh t as t ah t dzl t dzh t dlz t dhz t ewl note: the read cycle cn be initiated either by the falling edge of c s or the rising edge of e clock whichever occurs last. similarly the cycle can be terminated by c s (rising edge) or e clock (falling edge) whichever occurs first. the timing relations are to be referenced from the active edge initiating or terminating the cycle. e irq t irqr f0i wd t wdhl t wdlh
MT8952b iso-cmos 3-80 ? timing is over recommended temperature & power supply voltages (v dd =5v 5%, v ss =0v, t a =?0 to 85 c). typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. figure 21 - reset timing figure 22 - serial port input and reop, output and teop note : the frequency of the clock input cki is assumed to be at the output bit rate. however, it can be at twice the bit rate in the internal timing mode. ac electrical characteristics ? - serial port, reset, wd timer and irq release time (figures 19, 20, 21 and 22). voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ max units test conditions 1 interrupt request release time t irqr 120 ns test load circuit 2 (fig.26) 2wd output delay high to low t wdhl 135 ns test load circuit 1 (fig.26) 3wd output delay low to high t wdlh 135 ns test load circuit 1 (fig.26) 4 teop/reop output delay t eopd 110 ns test load circuit 1 (fig.26) 5 teop/reop output hold time t eoph 110 ns test load circuit 1 (fig.26) 6 cdsto delay from cki t stod 125 ns test load circuit 1 (fig.26) 7 cdsti setup time t stis 20 ns 8 cdsti hold time t stih 65 ns 9 reset pulse width t rst 100 ns rst t rst cki cdsto teop cdsti reop end flag or abort sequence flag or idle sequence t stod t eopd t eoph t stis t stih t eopd t eoph
iso-cmos MT8952b 3-81 ? timing is over recommended temperature & power supply voltages (v dd =5v 5%, v ss =0v, t a =?0 to 85 c). typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. figure 23 - serial port inputs and outputs in external timing mode note : the frequency of the clock input (cki) should be at the output bit rate in the external timing mode. figure 24 - st-bus format ac electrical characteristics ? - serial port in external timing mode - (figure 23 ) voltages are with respect to ground (v ss ) unless otherwise stated. characteristics sym min typ max units test conditions 1 clock period on cki pin t cex 400 ns 2 cki transition time t t 20 ns 3 txcen /rxcen setup time t cens 60 ns 4 txcen /rxcen hold time t cenh 40 ns 5 cdsti setup time t stis 20 ns 6 cdsti hold time t stih 65 ns 7 cdsto delay t stozl t stozh 125 ns test load circuit 1 (fig. 26) c l =150pf 8 cdsto disable time t stolz t stohz 85 ns test load circuit 3 (fig. 26) cki txcen/ rxcen cdsti cdsto valid data t cex t t t cens t cenh t stis t stih t stozl t stozh t stohz t stolz high impedance high impedance channel 0 channel 1 channel 2 ??????? bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 125 sec channel 31 channel 30 channel 31 channel 0 channel 29 f0i st-bus least significant bit most significant bit 3.9 sec (d0 on the data bus) (d7 on the data bus)
MT8952b iso-cmos 3-82 ? timing is over recommended temperature & power supply voltages (v dd =5v 5%, v ss =0v, t a =?0 to 85 c). typical ?ures are at 25 c and are for design aid only: not guaranteed and not subject to production testing. figure 25 - serial port input and output in st-bus format (internal timing mode) note : 1. channels 0 to 4 can only be active on cdsti and cdsto in the internal timing mode. 2. clock input cki can be either of the st-bus clocks c2i (2.048mhz) or c4i (4.096 mhz) in the internal timing mode. 3. the frame pulse set up and hold time measurements are to be referenced from the falling edge of c4i or the rising edge of c2i depending on the clock selected. figure 26 - test load circuits note : active low to high impedance times are measured from the disabling signal edge to the time when v out has increased by 0.5 volts. active high to high impedance times are measured from the disabling signal edge to the time when v out has decreased by 0.5 volts. ac electrical characteristics ? - serial port in internal timing mode - (figure 25) voltages are with respect to ground (v ss ) unless otherwise stated . characteristics sym min typ max units test conditions 1 frame pulse (f0i ) width t f0iw 50 ns 2 frame pulse (f0i ) setup time t f0is 30 ns see note 3. 3 frame pulse (f0i ) hold time t f0ih 20 ns see note 3. 4 cdsto delay from clock input t stozl t stozh 125 ns test load circuit 1 (fig. 26) 5 cdsti setup time t stis 20 ns 6 cdsti hold time t stih 65 ns 7 c2i clock period t c2i 400 ns 8 c4i clock period t c4i 200 ns f0i cki (c4i ) cki (c2i) cdsto cdsti t f0iw t f0ih t c4i t f0is t c2i t stozl t stozh high impedance ch. 0 bit 7 ch. 0 bit 6 ch. 0 bit 5 t stih t stis ch. 31 bit 0 ch. 0 bit 7 ch. 0 bit 6 ch. 0 bit 5 from output under test test point c l test load circuit- 1 v dd r l =1k ? test point from output under test test load circuit- 2 test load circuit - 3 from output under test c l c l test point s 1 v dd v ss r l =1k ? note: s 1 is in position a when measuring t plz and in position b when measuring t phz . see note below. c l = 200 pf for on data bus 150 pf for measurements on cdsto 50 pf for others measurements a b



www.zarlink.com information relating to products and services furnished herein by zarlink semiconductor inc. or its subsidiaries (collectively ?zarlink?) is believed to be reliable. however, zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from t he application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or use. neither the supply of such information or purchase of product or service conveys any license, either express or implied, u nder patents or other intellectual property rights owned by zarlink or licensed from third parties by zarlink, whatsoever. purchasers of products are also hereby notified that the use of product in certain ways or in combination with zarlink, or non-zarlink furnished goods or services may infringe patents or other intellect ual property rights owned by zarlink. this publication is issued to provide information only and (unless agreed by zarlink in writing) may not be used, applied or re produced for any purpose nor form part of any order or contract nor to be regarded as a representation relating to the products or services concerned. the products, t heir specifications, services and other information appearing in this publication are subject to change by zarlink without notice. no warranty or guarantee express or implied is made regarding the capability, performance or suitability of any product or service. information concerning possible methods of use is provided as a guide only and does not constitute any guarantee that such methods of use will be satisfactory in a specific piece of equipment. it is the user?s responsibility t o fully determine the performance and suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not b een superseded. manufacturing does not necessarily include testing of all functions or parameters. these products are not suitable for use in any medical products whose failure to perform may result in significant injury or death to the user. all products and materials are sold and services provided subject to zarlink?s conditi ons of sale which are available on request. purchase of zarlink?s i 2 c components conveys a licence under the philips i 2 c patent rights to use these components in and i 2 c system, provided that the system conforms to the i 2 c standard specification as defined by philips. zarlink, zl and the zarlink semiconductor logo are trademarks of zarlink semiconductor inc. copyright zarlink semiconductor inc. all rights reserved. technical documentation - not for resale for more information about all zarlink products visit our web site at


▲Up To Search▲   

 
Price & Availability of MT8952

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X